package com.wzt.gift.mapper;

import com.wzt.gift.domain.LoginUser;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wzt
 * @since 2022-10-10
 */
@Mapper
public interface LoginUserMapper extends BaseMapper<LoginUser> {

    /**
     * 通过用户名查询用户基本信息
     * @param username
     * @return
     */
    List<LoginUser> loadUserByUsername(String username);
}
